import request from '@/utils/request'

export const addDevice = (data) => {
  return request({
    url: '/equipment/device',
    method: 'put',
    data: data
  })
}

export const getDeviceOrList = (data) => {
  return request({
    url: '/equipment/device',
    method: 'post',
    data: data
  })
}